﻿@using Jhong.FunMVC.Razor
@{
    var model = @ViewData["model"] as Jhong.FunMVCBlog.Core.Entity.Log;
}
<style>
    .col-xs-12 {
        margin-top: 5px !important;
        padding-left: 5px !important;
    }

        .col-xs-12 h3 {
            margin-top: 5px !important;
        }

    .col-xs-2 {
        padding-right: 0px !important;
        padding-left: 0px !important;
        margin-left: 5px !important;
    }

    .form-group {
        margin-right: 0px !important;
        margin-left: 7px !important;
    }
</style>

<div class="col-xs-12">
    <h3 class="page-header">日志详情</h3>
</div>
<div>
    <form class="form-horizontal">
        <div class="form-group form-group-sm">
            <label class="col-xs-2 control-label" for="formGroupInputSmall">时间:</label>
            <div class="col-xs-9">@RazorHTMLHelper.HTML.TextBox("", @model.CreateTime.ToString("yyyy-MM-dd hh:mm:ss"), new { @class = "form-control" })</div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-xs-2 control-label" for="formGroupInputSmall">日志来源:</label>
            <div class="col-xs-9">@RazorHTMLHelper.HTML.TextBox("", @model.LogForm.ToString(), new { @class = "form-control" })</div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-xs-2 control-label" for="formGroupInputSmall">日志类型:</label>
            <div class="col-xs-9">@RazorHTMLHelper.HTML.TextBox("", @model.LogType.ToString(), new { @class = "form-control" })</div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-xs-2 control-label" for="formGroupInputSmall">访问页面:</label>
            <div class="col-xs-9">@RazorHTMLHelper.HTML.TextBox("", @model.URL, new { @class = "form-control" })</div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-xs-2 control-label" for="formGroupInputSmall">来访IP:</label>
            <div class="col-xs-9">@RazorHTMLHelper.HTML.TextBox("", @model.IP, new { @class = "form-control" })</div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-xs-2 control-label" for="formGroupInputSmall">请求类型:</label>
            <div class="col-xs-9">@RazorHTMLHelper.HTML.TextBox("", @model.RequestMethod, new { @class = "form-control" })</div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-xs-2 control-label" for="formGroupInputSmall">堆栈信息:</label>
            <div class="col-xs-9"></div>
        </div>
        <div class="form-group form-group-sm">
            <textarea style="width:630px;height:150px;margin-left:48px;">@model.Content</textarea>
        </div>
</form>
</div>